/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.chapter5.designpatters.behavioralpattern.commandpattern.commandimpl;

import za.ac.cput.chapter5.designpatters.behavioralpattern.commandpattern.Lunch;
import za.ac.cput.chapter5.designpatters.behavioralpattern.commandpattern.commandinterface.Command;

/**
 *
 * @author Sakhe
 */
public class LunchCommand implements Command{
   
    Lunch lunch;
    public LunchCommand(Lunch lunch){
    this.lunch = lunch;
    }
    @Override
    public void execute(){
    lunch.makeLunch();
    }
}
